<!-- content左上から右下へ -->
<%= javascript_include_tag 'prototype' %>
<%= javascript_include_tag 'photoEffect' %>
<% form_tag :action => 'update', :id => @entry do %>
<div id="content1">
  <br />
  <%=h @entry.spot.name %>
</div>
<div id="content2">
  <b>
    題名：<br /><%= text_field 'entry', 'subject', {:size => "28"} %>
    <br />
    本文：<br /><%= text_area 'entry', 'body', {:rows => "3", :cols => "14"} %>
  </b>
</div>
<div id="content3">
  <br />
  <%= text_field 'entry', 'weather'  %>
</div>
<div id="content4">
  <br />
  <%= @entry.entry_at.strftime("%Y年%m月%d日%H時%M分") %>
</div>
<div id="content5">
  <%= image_submit_tag("/images/edit_off_btn.gif", {:alt => "たびをきざむ", :align => "center"}) %>
</div>
<div id="content6">
  <br />
  <%= text_field 'entry', 'feeling'  %>
</div>
<div id="content7">
</div>
<div id="content8">
</div>
<div id="content9">
  <%= image_tag(PICTURES_DIR + @entry.picture_url, :size => '96x128', :align => "center", :valign => "bottom", :id=>"mypic") %>
  <br />
</div>

<% end %>

<script type="text/javascript">
  new PhotoEffect().execute('mypic', -0.12, '<%=image_path("photoframe.png")%>');
</script>
